package demo2;

public class TestChangLiang {
    //常量测试
    String string = ("我是文老师!");
    char aChar = ('A');
    int anInt = 666;
    double aDouble = 5.21;
    float aFloat = 5;
    boolean aBoolean = true;

    public static void fengefu() {
        System.out.println("----------");
    }

    public void testout() {
        System.out.println("我是文老师!");
        System.out.println(string);
        fengefu();
        System.out.println('我');
        System.out.println(aChar);
        fengefu();
        System.out.println(521);
        System.out.println(anInt);
        fengefu();
        System.out.println(5.21);
        System.out.println(aFloat);
        System.out.println(aDouble);
        fengefu();
        System.out.println(false);
        System.out.println(aBoolean);
    }
}
